package com.hx78.mongo.uni;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.data.domain.Sort;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderForMongo {
    private Sort.Direction direction;
    private String property;
    private boolean ignoreCase;
    private Sort.NullHandling nullHandling;
}
